package cn.com.yiqi.wsc.dao.lottery;

import cn.com.yiqi.wsc.Ro.LotterRecordVO;
import cn.com.yiqi.wsc.Ro.LotterVO;
import cn.com.yiqi.wsc.entity.lottery.LotteryItems;
import cn.com.yiqi.wsc.entity.lottery.LotteryItemsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface LotteryItemsMapper {
  
    int deleteByPrimaryKey(Integer id);
    
    int insertSelective(LotteryItems record);

    List<LotteryItems> selectByExample(LotteryItemsExample example);

    LotteryItems selectByPrimaryKey(Integer id);
    
    int updateByPrimaryKeySelective(LotteryItems record);

    List<LotterVO> findLottersBytype(@Param("activityId") int activityId,@Param("urlPre") String urlPre);

    List<LotteryItems> findLotterys(Integer activityId);
}